#!/bin/bash
if [ -n "$1" ] && [ -n "$2" ]; then
  num1="$1"; num2="$2"
else
  read num1
  read num2
fi
sum=$(expr $num1 + $num2)
echo $sum
